package com.jason.ladder.web;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;


public class OutputView implements org.springframework.web.servlet.View{

	public String getContentType() {
		return "text/plain";
	}

	public void render(Map model, HttpServletRequest request,
			HttpServletResponse response) throws Exception {
		String data ="done";
//		//List<RequestDetail> details = requestDetailManager.findById(1L);
//		//Gson gson = new Gson();
//		Gson gson = new GsonBuilder().setDateFormat("yyyy-MM-dd").create();
//		String data = gson.toJson(model.get("jqueryCalendarObjectList"));
//		//gson.fromJson(data, JqueryCalendarObject[].class);
		response.getWriter().write(data);
		
	}

}
